#include "Object.h"

using namespace Boon;
unsigned int g_ID_Counter = 0;


Boon::Object::Object()
	: m_Name( "" ),
	  m_UniqueID( g_ID_Counter++ )
{

}

Object::Object( const char* name )
	: m_Name( name ),
	  m_UniqueID( g_ID_Counter++ )
{
}


Object::~Object(void)
{
}

void Boon::Object::SetName( const char* name )
{
	m_Name = std::string( name );
}

const std::string& Boon::Object::GetName() const
{
	return m_Name;
}

const uint_32 Boon::Object::GetUniqueObjectID() const
{
	return m_UniqueID;
}
